home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hottest 6
/
Hottest 6 (1996)(PDSoft)[!].iso
/
pdsoft
/
demo_library
/
4382.lha
/
autoexec.AMOS
/
autoexec.amosSourceCode
next >
Wrap
AMOS Source Code
|
1980-06-03
|
16KB
|
679 lines
Rem THIS IS THE MAIN MENU FOR DIFF APP.
Set Buffer 25
Screen Open 0,640,256,16,Hires
Ink 0 : Paint 200,200,1
Colour Back Colour(6)
For X=2 To 15
Erase X
Next X
Limit Mouse 129,50 To 448,296
Cls : Curs Off
Screen Open 1,640,256,16,Hires
Screen Open 2,640,256,16,Hires
Dim M$(100)
Global M$
1
Show On
Screen Open 0,640,256,16,Hires : Paper 9 : Ink 9 : Cls :
10
Fade 15
Unpack 1 To 0
L=0
'
'
Reserve Zone(27)
Set Zone 1,249,128 To 348,148
Set Zone 2,387,128 To 608,147
Set Zone 3,215,166 To 350,194
Set Zone 4,350,166 To 480,194
Set Zone 5,480,166 To 607,194
Set Zone 6,215,194 To 350,218
Set Zone 7,350,194 To 480,219
Set Zone 8,480,194 To 607,219
Set Zone 9,215,218 To 350,244
Set Zone 10,350,218 To 480,244
Set Zone 11,480,219 To 607,244
Do
K=Mouse Zone
T=Mouse Key
If K=1 and T=1 Then M$="app1:intro.TXT" : Paper 14 : Proc TS : Goto 10
If K=2 and T=1 Then Goto 101
If K=3 and T=1 Then Goto 102
If K=4 and T=1 Then Goto 103
If K=5 and T=1 Then Goto 104
If K=6 and T=1 Then Goto 105
If K=7 and T=1 Then Goto 106
If K=8 and T=1 Then Goto 107
If K=9 and T=1 Then Goto 108
If K=10 and T=1 Then Goto 109
If K=11 and T=1 Then M$="app1:sum.txt" : Paper 14 : Proc TS : Goto 10
Loop
Wait Key
'
Rem:full lecture
101
L=1
M$="app1:intro.TXT" : Paper 14 : Proc TS
Goto 102
1109
M$="app1:sum.txt" : Paper 14 : Proc TS : Goto 10
'
Rem THIS IS THE 'QUALITY' SECTION
'
102
Proc LD
Limit Mouse 129,50 To 448,296
Cls : Paper 0
Locate 0,15 : Centre "** PLEASE WAIT - LOADING 'QUALITY' **"
Flash Off
Cls
Load Iff "app1:p10"
Locate 50,8 : Paper 15 : Print "** QUALITY **"
M$="app1:t10.txt"
Proc TES
If L=1 Then Goto 103
Goto 10
Stop
'
Rem:THIS IS THE HOLIDAY SECTION
'
103
Proc LD
M$="app1:hol.txt" : Paper 14 : Proc TS
Flash Off
Paper 0
Cls
Load Iff "app1:p26"
Locate 50,8 : Paper 15 : Print "** HOLIDAY PICTURES **"
M$="app1:t26.txt"
Proc BO
Load Iff "app1:p40"
Locate 50,8 : Paper 15 : Print "** HOLIDAY PICTURES **"
M$="app1:t40.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p41"
Locate 50,8 : Paper 15 : Print "** HOLIDAY PICTURES **"
M$="app1:t41.txt"
Proc TES
If L=1 Then Goto 104
Goto 10
'
Rem:This is the pictorial section'
'
104
Proc LD
M$="app1:pict.txt" : Paper 14 : Proc TS
Flash Off
Paper 0
Cls
Load Iff "app1:p8"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t8.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p25"
M$="app1:t25.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p9"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t9.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p13"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t13.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p17"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t17.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p19"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t19.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p22"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t22.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p23"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t23.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p30"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t30.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p37"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t37.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p39"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t39.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p49"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t49.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p54"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t54.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p56"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t56.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p58"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t58.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p60"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t60.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p61"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t61.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p67"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t67.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p68"
Locate 50,8 : Paper 15 : Print "** PICTORIAL PHOTOGRAPHY **"
M$="app1:t68.txt"
Proc TES
If L=1 Then Goto 105
Goto 10
'
'
Rem:This is the portrait section'
'
105
Proc LD
M$="app1:port.txt" : Paper 14 : Proc TS
Flash Off
Paper 0
Cls
Load Iff "app1:p2"
Locate 50,8 : Paper 15 : Print "** PORTRAITURE **"
M$="app1:t2.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p4"
Do
T=Mouse Key
If T<>0 Then Goto 15
Loop
15 Cls
M$="app1:t4.txt"
Proc TS
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p28"
Locate 50,8 : Paper 15 : Print "** PORTRAITURE **"
M$="app1:t28.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p36"
Locate 50,8 : Paper 15 : Print "** PORTRAITURE **"
M$="app1:t36.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p43"
Locate 50,8 : Paper 15 : Print "** PORTRAITURE **"
M$="app1:t43.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p48"
Locate 50,8 : Paper 15 : Print "** PORTRAITURE **"
M$="app1:t48.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app1:p57"
Locate 50,8 : Paper 15 : Print "** PORTRAITURE **"
M$="app1:t57.txt"
Proc TES
Fade 6 : Wait 90
Ink 14 : Paint 200,200,1
If L=1 Then Goto 106
Goto 10
'
'
'
Rem:This is the KIDS section'
'
106
Proc LDL
M$="app2:kids.txt" : Paper 14 : Proc TS
Flash Off
Paper 0
Cls
Load Iff "app2:p33"
Locate 50,8 : Paper 15 : Print "** PICTURES OF KIDS **"
M$="app2:t33.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p45"
Locate 50,8 : Paper 15 : Print "** PICTURES OF KIDS **"
M$="app2:t45.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p47"
Locate 50,8 : Paper 15 : Print "** PICTURES OF KIDS **"
M$="app2:t47.txt"
Proc TES
If L=1 Then Goto 107
Fade 6 : Wait 90 : Goto 10
'
'
'
Rem:This is the CANDIDS section'
'
107
Proc LDL
M$="app2:cand.txt" : Paper 14 : Proc TS
Flash Off
Paper 0
Cls
Load Iff "app2:p1"
Locate 43,8 : Paper 15 : Print "** CANDIDS - PICTURES OF PEOPLE **"
M$="app2:t1.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p3"
Locate 43,8 : Paper 15 : Print "** CANDIDS - PICTURES OF PEOPLE **"
M$="app2:t3.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p5"
Locate 43,8 : Paper 15 : Print "** CANDIDS - PICTURES OF PEOPLE **"
M$="app2:t5.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p6"
Locate 43,8 : Paper 15 : Print "** CANDIDS - PICTURES OF PEOPLE **"
M$="app2:t6.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p7"
Locate 43,8 : Paper 15 : Print "** CANDIDS - PICTURES OF PEOPLE **"
M$="app2:t7.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p27"
Locate 43,8 : Paper 15 : Print "** CANDIDS - PICTURES OF PEOPLE **"
M$="app2:t27.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p53"
Locate 43,8 : Paper 15 : Print "** CANDIDS - PICTURES OF PEOPLE **"
M$="app2:t53.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p62"
Locate 43,8 : Paper 15 : Print "** CANDIDS - PICTURES OF PEOPLE **"
M$="app2:t62.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p63"
Locate 43,8 : Paper 15 : Print "** CANDIDS - PICTURES OF PEOPLE **"
M$="app2:t63.txt"
Proc TES
If L=1 Then Goto 108
Fade 6 : Wait 90 : Goto 10
'
Rem:This is the NATHIST section'
'
108
Proc LDL
M$="app2:nh.txt" : Paper 14 : Proc TS
Flash Off
Paper 0
Cls
Load Iff "app2:p11"
Locate 43,8 : Paper 15 : Print "** NATURAL HISTORY **"
M$="app2:t11.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p15"
Locate 43,8 : Paper 15 : Print "** NATURAL HISTORY **"
M$="app2:t15.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p16"
Locate 43,8 : Paper 15 : Print "** NATURAL HISTORY **"
M$="app2:t16.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p20"
Locate 43,8 : Paper 15 : Print "** NATURAL HISTORY **"
M$="app2:t20.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p21"
Locate 43,8 : Paper 15 : Print "** NATURAL HISTORY **"
M$="app2:t21.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p24"
Locate 43,8 : Paper 15 : Print "** NATURAL HISTORY **"
M$="app2:t24.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p31"
Locate 43,8 : Paper 15 : Print "** NATURAL HISTORY **"
M$="app2:t31.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p34"
Locate 43,8 : Paper 15 : Print "** NATURAL HISTORY **"
M$="app2:t34.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p35"
Locate 43,8 : Paper 15 : Print "** NATURAL HISTORY **"
M$="app2:t35.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p44"
Locate 43,8 : Paper 15 : Print "** NATURAL HISTORY **"
M$="app2:t44.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p64"
Locate 43,8 : Paper 15 : Print "** NATURAL HISTORY **"
M$="app2:t64.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p65"
Locate 43,8 : Paper 15 : Print "** NATURAL HISTORY **"
M$="app2:t65.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p66"
Locate 43,8 : Paper 15 : Print "** NATURAL HISTORY **"
M$="app2:t6.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p69"
Locate 43,8 : Paper 15 : Print "** NATURAL HISTORY **"
M$="app2:t69.txt"
Proc TES
If L=1 Then Goto 109
Fade 6 : Wait 90 : Goto 10
'
Rem:This is the TRICKS section
'
109
Proc LDL
M$="app2:trick.txt" : Paper 14 : Proc TS
Flash Off
Paper 0
Cls
Load Iff "app2:p12"
Locate 43,8 : Paper 15 : Print "** TRICKS OF THE TRADE **"
M$="app2:t12.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p14"
Locate 43,8 : Paper 15 : Print "** TRICKS OF THE TRADE **"
M$="app2:t14.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p29"
Locate 43,8 : Paper 15 : Print "** TRICKS OF THE TRADE **"
M$="app2:t29.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p32"
M$="app2:t32.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p38"
Locate 43,8 : Paper 15 : Print "** TRICKS OF THE TRADE **"
M$="app2:t38.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p42"
Locate 43,8 : Paper 15 : Print "** TRICKS OF THE TRADE **"
M$="app2:t42.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p46"
Locate 43,8 : Paper 15 : Print "** TRICKS OF THE TRADE **"
M$="app2:t46.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p50"
Locate 43,8 : Paper 15 : Print "** TRICKS OF THE TRADE **"
M$="app2:t50.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p51"
Locate 43,8 : Paper 15 : Print "** TRICKS OF THE TRADE **"
M$="app2:t51.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p52"
Locate 43,8 : Paper 15 : Print "** TRICKS OF THE TRADE **"
M$="app2:t52.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p18"
Locate 43,8 : Paper 15 : Print "** TRICKS OF THE TRADE **"
M$="app2:t18.txt"
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
Load Iff "app2:p54"
Locate 43,8 : Paper 15 : Print "** TRICKS OF THE TRADE **"
M$="app2:t54.txt"
Proc TES
If L=1 Then Goto 1109
Fade 6 : Wait 90 : Goto 10
'
Procedure TS
Global M$
Curs Off : Cls
Open In 1,M$
887
X=2
Do
If Eof(1) Then Goto 882
Set Input 10,-1
Line Input #1,N$
Locate 4,X : Print N$
X=X+1
If X=27 Then Goto 883
If Key State(50) Then Proc PTS
Loop
'
'
883
Locate 1,29 : Centre "** LEFT MOUSE KEY FOR MORE TEXT OR RETURN **"
Do
T=Mouse Key
If T<>0 Then Cls : Goto 887
Loop
Wait Key
882
Do
Locate 1,29 : Centre "** LEFT MOUSE KEY FOR MORE TEXT OR RETURN - 'X' TO PRINT **"
T=Mouse Key
If T<>0 Then Goto 21
If Key State(50) Then Proc PTS
Loop
21
Close 1
End Proc
'
Procedure TES
Global M$
Open In 1,M$
Locate 0,17 : Paper 13 : Centre " "
Locate 0,19 : Paper 13 : Centre " "
Locate 0,21 : Paper 13 : Centre " "
Locate 0,23 : Paper 13 : Centre " "
987
X=18
Do
Locate 0,X : Paper 13 : Print " "
X=X+1
Exit If X=30
Loop
X=18
Do
If Eof(1) Then Goto 982
Set Input 10,-1
Line Input #1,N$
Locate 4,X : Paper 13 : Print N$
X=X+1 :
If X=29 Then Goto 983
Loop
'
'
983
Locate 1,30 : Centre " ** LEFT MOUSE KEY FOR MORE TEXT OR RETURN ** "
Do
T=Mouse Key
If T<>0 Then Goto 987
Loop
Wait Key
982
Do
Locate 1,30 : Centre " ** LEFT MOUSE KEY FOR MORE TEXT OR RETURN - 'X' TO PRINT ** "
T=Mouse Key
If T<>0 Then Goto 22
If Key State(50) Then Proc PTS
Loop
22
Close 1
End Proc
'
Procedure BO
Proc TES
Fade 6 : Wait 90 : Cls
Ink 0 : Paint 200,200,1
End Proc
'
Procedure PTS
Cls : Locate 0,15 : Paper 6 : Centre "** PRINTER ON, PAPER IN, PRESS MOUSE BUTTON **"
Do
T=Mouse Key
If T<>0 Then Goto 2129
Loop
2129
Close 1
Curs Off : Cls
Open In 1,M$
Do
If Eof(1) Then Goto 1882
Set Input 10,-1
Line Input #1,M$
Locate 4,X : Lprint M$
Loop
1882
Do
Locate 1,15 : Paper 4 : Centre "** LEFT MOUSE KEY TO EXIT **"
T=Mouse Key
If T<>0 Then Goto 2121
Loop
2121
End Proc
'
Procedure LD
Screen Open 0,640,256,16,Hires : Curs Off
Locate 0,14 : Paper 8 : Centre "** PUT DISK 1 IN ANY DRIVE **"
Locate 0,18 : Paper 8 : Centre "** PRESS LEFT MOUSE BUTTON **"
Do
T=Mouse Key
If T<>0 Then Pop Proc
If Key State(69)=True Then Goto 10
Loop
End Proc
'
Procedure LDL
Screen Open 0,640,256,16,Hires : Curs Off
Locate 0,14 : Paper 8 : Centre "** PUT DISK 2 IN ANY DRIVE **"
Locate 0,18 : Paper 8 : Centre "** PRESS LEFT MOUSE BUTTON **"
Do
T=Mouse Key
If T<>0 Then Pop Proc
If Key State(69)=True Then Goto 10
Loop
End Proc